package com.jltx.zeus.arch.bean

import com.google.gson.Gson
import com.google.gson.annotations.Expose
import com.jltx.zeus.arch.bean.WeChatNews
import java.util.*

/**
 * @author aidenquan
 *         Created by junlintianxia on 2020/10/09.
 */
class WeChatResponse {
    @Expose
    private var code = 0

    @Expose
    private var msg: String? = null

    @Expose
    private var newslist: ArrayList<WeChatNews>? = null
    fun getCode(): Int {
        return code
    }

    fun setCode(code: Int) {
        this.code = code
    }

    fun getMsg(): String? {
        return msg
    }

    fun setMsg(msg: String?) {
        this.msg = msg
    }

    fun getNewslist(): ArrayList<WeChatNews>? {
        return newslist
    }

    fun setNewslist(newslist: ArrayList<WeChatNews>?) {
        this.newslist = newslist
    }

    override fun toString(): String {
        return Gson().toJson(this)
    }
}
